package com.macro.mall.domain;

/**
 * 我的会话（会话-消息列表）
 */
public class MySession {

    /**
     * 发送者memberId
     */
    private long oppositeId;

    /**
     * 发送者username
     */
    private String oppositeUsername;

    /**
     * 发送者昵称
     */
    private String nickname;

    /**
     * 发送者头像
     */
    private String icon;

    /**
     * 发起者类型（0：普通会员，1：平台）
     */
    private int oppositeType;

    /**
     * 消息数量
     */
    private long count;

    public long getOppositeId() {
        return oppositeId;
    }

    public void setOppositeId(long oppositeId) {
        this.oppositeId = oppositeId;
    }

    public String getOppositeUsername() {
        return oppositeUsername;
    }

    public void setOppositeUsername(String oppositeUsername) {
        this.oppositeUsername = oppositeUsername;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getOppositeType() {
        return oppositeType;
    }

    public void setOppositeType(int oppositeType) {
        this.oppositeType = oppositeType;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }
}
